home *** CD-ROM | disk | FTP | other *** search
- echo $1 $2 $3 $4 $5 $6 $7
- if test $2 == Cue
- if test $3 == 10
- KQMonster::checkInventory Connor Fists
- if test $Console::Return == 1
- sendEvent 0 $1 KQCueEvent 15 0
- else
- KQMonster::checkInventory Connor Dagger
- if test $Console::Return == 1
- set SBDoMode 4
- endif
- KQMonster::checkInventory Connor LakeSword
- if test $Console::Return == 1
- set SBDoMode 4
- endif
- KQMonster::checkInventory Connor SmallAx
- if test $Console::Return == 1
- set SBDoMode 0
- endif
-
- KQMonster::stateChangeNotify $1 Connor
- KQConner::getDoMode
- if test $Console::Return != $SBDoMode
- KQConner::setDoMode $SBDoMode
- else
- sprgnbow.cs $1 StateChange 0 32
- endif
- endif
- else if test $3 == 15
- move $1 0 1000 1000 -1 #get the kqobject out of the way for the animation
- KQMonster::setHome $1 0 1000 1000
- getEndLoop Connor $1 1
- KQCamera::follow none
- #setThirdPerson
- handsOff 1
-
- # play different anin for different weapons
- KQMonster::checkInventory Connor Dagger
- if test $Console::Return == 1
- move KQCamera 0 225343 183454 11956 0.4 0 -1.57
- move Connor 0 224700 183000 -1 0 0 -1.57
- preloadShape sp_dgdth.KQS
- KQMonster::setState Connor Special 'AnimList=sprgnbow.anm,AnimListOn,dgone'
- endif
-
- KQMonster::checkInventory Connor Fists
- if test $Console::Return == 1
- move KQCamera 0 224500 182968 8696 .8 0 -1.8
- move Connor 0 224700 183000 -1 0 0 -1.57
- preloadShape sp_ftdth.KQS
- KQMonster::setState Connor Special 'AnimList=sprgnbow.anm,AnimListOn,hdone'
- endif
-
- KQMonster::checkInventory Connor SmallAx
- if test $Console::Return == 1
- move KQCamera 0 224500 182968 8696 .8 0 -1.8
- move Connor 0 224700 183000 -1 0 0 -1.57
- preloadShape sp_cadth.KQS
- KQMonster::setState Connor Special 'AnimList=sprgnbow.anm,AnimListOn,axone'
- endif
-
- KQMonster::checkInventory Connor LakeSword
- if test $Console::Return == 1
- move KQCamera 0 224500 182968 8696 .8 0 -1.8
- move Connor 0 225700 182500 8215 0 0 -1.57
- preloadShape sp_lsdth.KQS
- KQMonster::setState Connor Special 'AnimList=sprgnbow.anm,AnimListOn,lsone'
- endif
- else if test $3 == 20
- KQConner::setDoMode 0
- getEndLoop Connor $1 0
- handsOff 0
- setThirdPerson
- KQCamera::follow Connor
- sendEvent 0 Connor KQStatsChangeRequestEvent 0 0 0 0 50
- KQMonster::speak Connor Connor 1000 105 59 114 1 1
- KQObject::collision roofTrap -4
- sendEvent 10 $1 KQCueEvent 30 0
- else if test $3 == 30
- deleteObject $1
- else if test $3 == 300
- # block for ax anims
- if test $5 == axone
- move KQCamera 0 230700 184068 13411 -0.1 0 2
- KQMonster::setState Connor Special 'AnimList=sprgnbow.anm,AnimListOn,axtwo'
- else if test $5 == axtwo
- move KQCamera 0 225040 182616 9502 0 0 -1.57
- KQMonster::setState Connor Special 'AnimList=sprgnbow.anm,AnimListOn,axthree'
- else if test $5 == axthree
- move KQCamera 0 224500 182968 8696 .8 0 -1.8
- KQMonster::setState Connor Special 'AnimList=sprgnbow.anm,AnimListOn,axfour'
- else if test $5 == axfour
- move KQCamera 0 226841 182690 9520 0 0 1.57
- KQMonster::setState Connor Special 'AnimList=sprgnbow.anm,AnimListOn,axfive'
- else if test $5 == axfive
- move KQCamera 0 224746 185184 9234 0 0 -2.7
- KQMonster::setState Connor Special 'AnimList=sprgnbow.anm,AnimListOn,axsix,Inv,SmCrossBow'
- else if test $5 == axsix
- KQObject::getLoc Connor
- loadObject deadsprg sp_cadth.kqs $KQObject::loc
- move Connor 1 0 0 0 0 0 1.57
- sendEvent 0 $1 KQCueEvent 20 0
-
- # block for dagger anims
- else if test $5 == dgone
- move KQCamera 0 224036 183728 8696 .8 0 -2.2
- KQMonster::setState Connor Special 'AnimList=sprgnbow.anm,AnimListOn,dgtwo'
- else if test $5 == dgtwo
- move KQCamera 0 225664 185795 9323 0 0 3.14
- KQMonster::setState Connor Special 'AnimList=sprgnbow.anm,AnimListOn,dgthree'
- else if test $5 == dgthree
- move KQCamera 0 225493 183817 9374 .1 0 2.2
- KQMonster::setState Connor Special 'AnimList=sprgnbow.anm,AnimListOn,dgfour,Inv,SmCrossBow'
- else if test $5 == dgfour
- KQObject::getLoc Connor
- loadObject deadsprg sp_dgdth.kqs $KQObject::loc
- move Connor 1 0 0 0 0 0 1.57
- sendEvent 0 $1 KQCueEvent 20 0
-
- # block for lake sword anims
- else if test $5 == lsone
- move KQCamera 0 225343 183454 11956 0.4 0 -1.57
- KQMonster::setState Connor Special 'AnimList=sprgnbow.anm,AnimListOn,lstwo'
- else if test $5 == lstwo
- move KQCamera 0 224500 182968 8696 .8 0 -1.8
- KQMonster::setState Connor Special 'AnimList=sprgnbow.anm,AnimListOn,lsthree'
- else if test $5 == lsthree
- move KQCamera 0 225664 185795 9323 0 0 3.14
- KQMonster::setState Connor Special 'AnimList=sprgnbow.anm,AnimListOn,lsfour,Inv,SmCrossBow'
- else if test $5 == lsfour
- KQObject::getLoc Connor
- loadObject deadsprg sp_lsdth.kqs $KQObject::loc
- sendEvent 0 $1 KQCueEvent 20 0
-
- # block for fist anims
- else if test $5 == hdone
- move KQCamera 0 230700 184068 13411 -0.1 0 2
- KQMonster::setState Connor Special 'AnimList=sprgnbow.anm,AnimListOn,hdtwo'
- else if test $5 == hdtwo
- move KQCamera 0 224746 185184 9234 0 0 -2.7
- KQMonster::setState Connor Special 'AnimList=sprgnbow.anm,AnimListOn,hdthree,Inv,SmCrossBow'
- else if test $5 == hdthree
- KQObject::getLoc Connor
- loadObject deadsprg sp_ftdth.kqs $KQObject::loc
- move Connor 1 0 0 0 0 0 1.57
- sendEvent 0 $1 KQCueEvent 20 0
- endif
- endif
- endif
- endif
- endif
-
- endif
- endif
- endif
- endif
- endif
-
- endif
- endif
- endif
- endif
- endif
-
- endif
- endif
- endif
- endif
- endif
- endif
- endif
- else if test $2 == StateChange
- if test $4 == 32
- KQMonster::clearStateChangeNotify $1 Connor
- sendEvent 0 $1 KQCueEvent 15 0
- endif
- endif
- endif
-
-
-